extends Resource
class_name UnitStats

enum UnitType {
	PLAYER,
	ENEMY
}

@export var name : String
@export var type : UnitType
@export var icon : Texture2D
@export var health : int = 1
# 每波次生命增加幅度
@export var health_increase_per_wave : float = 1.0
@export var damage : int = 1
# 每波次伤害增加幅度
@export var damage_increase_per_wave : float = 1.0
# 移动速度
@export var speed : int = 300
# 幸运值
@export var luck : float  = 1.0
# 格挡几率
@export var block_chance : float  = 0.0
# 金币掉落
@export var gold_drop : int = 1
